package io.xuan.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.xuan.modules.app.entity.EvaluateEntity;

import java.util.List;

public interface EvaluateService extends IService<EvaluateEntity> {


    /**
     * 查询用户评价
     * @param userId
     * @return
     */
    List<EvaluateEntity> queryByUserId(Long userId);

    List<EvaluateEntity> allEvaluate();


    List<EvaluateEntity> queryByDriverId(Long userId);

    boolean saveEvaluate(EvaluateEntity evaluate);



}
